package com.le.lecommon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.le.lecommon.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    // 根据username查询出SysUser并返回
    SysUser selectByUsername(@Param("username") String username);
}
